package didi.hcp.questionrobot.common;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SopRequest {

    @NotNull(message = "您是啥！听不清呢~")
    private String text;

    private String token;

    private String webhook_url;

    private String keyword;

    private Date timestamp;

    @NotNull(message = "不知道回复谁啊~_~")
    private String user_name;

    private boolean is_quick_reply;

    private String channel_id;

    private String channel_name;
}
